package cn.wh.netty.pojo;

import java.io.Serializable;

/**
 * @Author: HongXiaoHan
 * @Description
 * @Date: 2021/2/9 11:29
 */
public class Msg implements Serializable {
    //发送id
    private String sendId;
    //接受id
    private String receiveId;
    //聊天类型
    private Integer type;
    //聊天内容
    private String content;
    //聊天Id
    private String msgId;

    @Override
    public String toString() {
        return "Msg{" +
                "sendId='" + sendId + '\'' +
                ", receiveId='" + receiveId + '\'' +
                ", type=" + type +
                ", content='" + content + '\'' +
                ", msgId='" + msgId + '\'' +
                '}';
    }

    public String getSendId() {
        return sendId;
    }

    public void setSendId(String sendId) {
        this.sendId = sendId;
    }

    public String getReceiveId() {
        return receiveId;
    }

    public void setReceiveId(String receiveId) {
        this.receiveId = receiveId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getMsgId() {
        return msgId;
    }

    public void setMsgId(String msgId) {
        this.msgId = msgId;
    }
}
